Skip to content

fix bugs in showMoonTimes in clock module#1925

Merged
MichMich merged 1 commit into
MagicMirrorOrg:developfrom
dtreskunov:dtreskunov/fix-clock-module-moon-widget
Feb 10, 2020
Merged

fix bugs in showMoonTimes in clock module#1925
MichMich merged 1 commit into
MagicMirrorOrg:developfrom
dtreskunov:dtreskunov/fix-clock-module-moon-widget

Conversation

@dtreskunov

Copy link
Copy Markdown
Contributor
  1. as reported on add sun/moon rise/set times #1885,
    toLocaleString is not supported on old iPad Safari

  2. SunCalc.getMoonTimes returns moonRise/moonSet times for the given date,
    so moonRise can be after moonSet. We want to display the most relevant
    times, which are today's moonRise and the next moonSet.

1. as reported on MagicMirrorOrg#1885,
toLocaleString is not supported on old iPad Safari

2. SunCalc.getMoonTimes returns moonRise/moonSet times for the given date,
so moonRise can be after moonSet. We want to display the most relevant
times, which are today's moonRise and the next moonSet.
@MagicMirrorBot

Copy link
Copy Markdown
Warnings
⚠️

Please include an updated CHANGELOG.md file.
This way we can keep track of all the contributions.

Generated by 🚫 dangerJS

@MichMich MichMich merged commit d729594 into MagicMirrorOrg:develop Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants